#include <stdio.h>

int main()
{
	unsigned int N = 0;
	scanf( "%d", &N );

	unsigned int weights[ 20 ];
	unsigned int total_weight = 0;
	for( unsigned int i = 0; i < N; ++i )
	{
		unsigned int tmp = 0;
		scanf( "%d", &tmp );
		weights[i] = tmp;
		total_weight += tmp;
	}

	

	return 0;
}

